QT       += core gui network

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
QMAKE_CXXFLAGS += -std=c++17
CONFIG += c++17
CONFIG += console


# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    EB/ebstate.cpp \
    Interface/udpinterface.cpp \
    Station/station.cpp \
    main.cpp \
    mainwindow.cpp

HEADERS += \
    EB/ebstate.h \
    Include/align.h \
    Include/cabstatus.h \
    Include/dashboard.h \
    Include/departure.h \
    Include/devicefailureinfo.h \
    Include/distinfo.h \
    Include/doormode.h \
    Include/doorstatus.h \
    Include/holdandskip.h \
    Include/integrity.h \
    Include/motoringandbrakingstatus.h \
    Include/slipandpsd.h \
    Include/transition.h \
    Include/turnback.h \
    Interface/udpinterface.h \
    Station/station.h \
    mainwindow.h

FORMS += \
    mainwindow.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target




INCLUDEPATH += $$PWD/Include $$PWD/Interface $$PWD/EB $$PWD/Station





RESOURCES += \
    QSS.qrc \
    images.qrc




win32: LIBS += -L$$PWD/Lib/ -lhmiwidgetplugin

INCLUDEPATH += $$PWD/Lib
DEPENDPATH += $$PWD/Lib

unix:!macx: LIBS += -L$$PWD/Lib/ -lhmiwidgetplugin

INCLUDEPATH += $$PWD/Lib
DEPENDPATH += $$PWD/Lib

win32: LIBS += -L$$PWD/Lib/ -lhmiwidgetplugin

INCLUDEPATH += $$PWD/Lib
DEPENDPATH += $$PWD/Lib
